package cn.hf.mychat.entity.bo;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;

import javax.validation.constraints.NotNull;

@Data
@Builder
public class RequestUser {
    @NotNull(message = "名字不能为空")
    private String userName;
    @NotNull(message = "密码不能为空")
    private String password;
    @NotNull(message = "手机号不能为空")
    private String phone;

    @Tolerate
    public RequestUser() {
    }
}
